<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $base_url ;?>js/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" href="<?php echo $base_url ;?>js/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
<script type="text/javascript" src="<?php echo $base_url; ?>js/jquery.blockUI.js"></script>

<!-- Load TinyMCE -->
<script type="text/javascript" src="<?php echo $base_url ;?>js/tinymce_3.4.7_jquery/tinymce/jscripts/tiny_mce/jquery.tinymce.js"></script>
<script type="text/javascript">
		jQuery(document).ready(function() {
				jQuery('textarea.tinymce').tinymce({
						script_url : '<?php echo $base_url ;?>js/tinymce_3.4.7_jquery/tinymce/jscripts/tiny_mce/tiny_mce.js',
						
						width : "600",
						height : "300",
						
						plugins : '-example',
						mode : "textareas",
						theme : "advanced",
						theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,fontselect,fontsizeselect,separator,forecolor,backcolor,emotions,link,unlink,numlist,bullist,outdent,indent,blockquote,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,undo,redo",
						theme_advanced_buttons2 : "",
						theme_advanced_buttons3 : "",
						theme_advanced_toolbar_location : "top",
						theme_advanced_toolbar_align : "left",
						theme_advanced_statusbar_location : "bottom"
				});
				
				$("a.lightbox").click(function(e){
						$.fancybox({
								'width': '800',
								'height': '600',
								'autoScale': true,
								'transitionIn': 'fade',
								'transitionOut': 'fade',
								'type': 'iframe',
								'href': '<?=$base_url?>admin/select_users/'
						});
				});
		});
</script>
<!-- /TinyMCE -->


<style type="text/css">

		form#emailform table.greentable {
				font-size:1.2em;
		}
		
		form#emailform table.greentable table#message_tbl td {
				background-color:#fff;
				border-color: rgb(217, 217, 217) rgb(217, 217, 217) rgb(217, 217, 217) -moz-use-text-color;
		}
		
</style>
